package com.lu.model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 订单状态枚举
 *
 * @author huangyao
 * @date 2022/6/9
 */
@Getter
@AllArgsConstructor
public enum OrderStatusEnum {

  UNPAID(0, "未支付/待支付"),
  UNDELIVERED(1, "已支付/待发货"),
  WAIT_RECEIVED(2, "已发货/待收货"),
  COMPLETE(3, "已完成"),
  CANCEL(4, "已取消")

  ;

  private final Integer code;
  private final String name;

}
